/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024.
 * Description: provide internal head file for rtos fast svc
 * Author: liwugui
 * Create: 2024-04-20
 */

#ifndef __RTOS_FAST_SVC_HEAD_H_
#define __RTOS_FAST_SVC_HEAD_H_

#ifdef CONFIG_RTOS_HAL_FAST_SVC
extern void fast_svc_handler_noctx_default(void);
/* fast svc only for vnotify */
typedef int (*rtos_fast_svc_handler_ctx_t)(unsigned long);
int register_rtos_fast_svc_handler_ctx(rtos_fast_svc_handler_ctx_t func);
int unregister_rtos_fast_svc_handler_ctx(void);
#endif
#endif
